Interleaved Depth-First Search

نویسنده

  • Pedro Meseguer
چکیده

In tree search, depth-first search (DFS) often uses ordering successor heuristics. If the heuristic makes a mistake ordering a bad successor (without goals in its subtree) before good ones (wi th goals in their subtrees), DFS has to unsuccessfully traverse the whole bad subtree before f inding a goal. To prevent this useless work, we present a new strategy called interleaved depthfirst search ( I D F S ) , which searches depth-first several subtrees —called active— in parallel. IDFS assumes a single processor on which it interleaves DFS on active subtrees. When IDFS finds a mistake, it traverses part ial ly the bad subtree. IDFS does not reexpand nodes and uses a memory amount linear in search depth (wi th a bounded number of active subtrees). IDFS outperforms DFS if the heuristic improves from the first to the second tree level. Experimental results on hard solvable problems confirm the practical val idity of IDFS .

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Interleaved and Discrepancy Based Search

We present a detailed experimental comparison of interleaved depth-rst search and depth-bounded discrepancy search, two tree search procedures recently developed with the same goal: to reduce the cost of heuristic mistakes at the top of the tree. Our comparison uses an abstract heur-istic model, and three diierent concrete problem classes: binary constraint satisfaction, quasigroup completion a...

متن کامل

Optimizing Backtrack Search for all Solutions to Conjunctive Problems

We consider the problem of minimizing depth-first search effort for the generation of all solutions to a problem stated as a conjunction of subproblems. For a sequence of subproblems that share no variables, the effort is minimized by ordering the subproblems in decreasing ratio of NC/(N 1), where N and C are the number of solutions and the search effort of obtaining a solution to the subproble...

متن کامل

Ensuring a Relevant Visiting Order of the Leaf Nodes during a Tree Search

We deene a model for heuristic tree search which assumes that the quality of the heuristic used for ordering the successors of a node improves as depth increases. We show that a usual value ordering heuristic for solving constraint satisfaction problems ts to this model. Our model deenes a partial order on the leaf nodes of the search tree, according to their probability to be a solution. We ch...

متن کامل

Progressive Focusing Search

This paper deals with value ordering heuristics used in a complete tree search algorithm for solving binary constraint satisfaction problems. Their aim is to guide the search towards a solution. First, we show the limits of the traditional prospective approach, which uses the size of the domains of the still unassigned variables. In an advantageous context, where arc consistency is maintained a...

متن کامل

Algorithm portfolios Carla

Stochastic algorithms are among the best methods for solving computationally hard search and reasoning problems. The run time of such procedures can vary significantly from instance to instance and, when using different random seeds, on the same instance. One can take advantage of such differences by combining several algorithms into a portfolio, and running them in parallel or interleaving the...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997